
package com.spss.scoring.schema.v2.jaxb;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element ref="{http://xml.spss.com/scoring-v2}modelReference" minOccurs="0"/>
 *         &lt;element name="currentDataProvider" type="{http://xml.spss.com/scoring-v2}currentDataProviderType" minOccurs="0"/>
 *         &lt;element name="compatibleDataProviders" type="{http://xml.spss.com/scoring-v2}compatibleDataProviderType" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://xml.spss.com/scoring-v2}modelInputMetadata"/>
 *         &lt;element ref="{http://xml.spss.com/scoring-v2}logSettings"/>
 *         &lt;element ref="{http://xml.spss.com/scoring-v2}inputOrder" minOccurs="0"/>
 *         &lt;element name="cacheSize" type="{http://xml.spss.com/scoring-v2}integerValueType"/>
 *         &lt;element name="batchEnabledFlag" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         &lt;element ref="{http://xml.spss.com/scoring-v2}configurationItem" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element ref="{http://xml.spss.com/scoring-v2}modelOutputMetadata" minOccurs="0"/>
 *       &lt;/sequence>
 *       &lt;attGroup ref="{http://xml.spss.com/scoring-v2}idAttributeGroup"/>
 *       &lt;attribute name="cfgSerial" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="state" type="{http://xml.spss.com/scoring-v2}runningState" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "modelReference",
    "currentDataProvider",
    "compatibleDataProviders",
    "modelInputMetadata",
    "logSettings",
    "inputOrder",
    "cacheSize",
    "batchEnabledFlag",
    "configurationItem",
    "modelOutputMetadata"
})
@XmlRootElement(name = "configurationDetails")
public class ConfigurationDetails {

    protected ModelReference modelReference;
    protected CurrentDataProviderType currentDataProvider;
    protected List<CompatibleDataProviderType> compatibleDataProviders;
    @XmlElement(required = true)
    protected ModelInputMetadata modelInputMetadata;
    @XmlElement(required = true)
    protected LogSettings logSettings;
    protected InputOrder inputOrder;
    @XmlElement(required = true)
    protected IntegerValueType cacheSize;
    protected boolean batchEnabledFlag;
    protected List<ConfigurationItem> configurationItem;
    protected ModelOutputMetadata modelOutputMetadata;
    @XmlAttribute(required = true)
    protected String cfgSerial;
    @XmlAttribute
    protected RunningState state;
    @XmlAttribute(required = true)
    protected String id;

    /**
     * The model that is referenced by this configuration, if valid.
     * 
     * @return
     *     possible object is
     *     {@link ModelReference }
     *     
     */
    public ModelReference getModelReference() {
        return modelReference;
    }

    /**
     * Sets the value of the modelReference property.
     * 
     * @param value
     *     allowed object is
     *     {@link ModelReference }
     *     
     */
    public void setModelReference(ModelReference value) {
        this.modelReference = value;
    }

    /**
     * Gets the value of the currentDataProvider property.
     * 
     * @return
     *     possible object is
     *     {@link CurrentDataProviderType }
     *     
     */
    public CurrentDataProviderType getCurrentDataProvider() {
        return currentDataProvider;
    }

    /**
     * Sets the value of the currentDataProvider property.
     * 
     * @param value
     *     allowed object is
     *     {@link CurrentDataProviderType }
     *     
     */
    public void setCurrentDataProvider(CurrentDataProviderType value) {
        this.currentDataProvider = value;
    }

    /**
     * Gets the value of the compatibleDataProviders property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the compatibleDataProviders property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getCompatibleDataProviders().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link CompatibleDataProviderType }
     * 
     * 
     */
    public List<CompatibleDataProviderType> getCompatibleDataProviders() {
        if (compatibleDataProviders == null) {
            compatibleDataProviders = new ArrayList<CompatibleDataProviderType>();
        }
        return this.compatibleDataProviders;
    }

    /**
     * Gets the value of the modelInputMetadata property.
     * 
     * @return
     *     possible object is
     *     {@link ModelInputMetadata }
     *     
     */
    public ModelInputMetadata getModelInputMetadata() {
        return modelInputMetadata;
    }

    /**
     * Sets the value of the modelInputMetadata property.
     * 
     * @param value
     *     allowed object is
     *     {@link ModelInputMetadata }
     *     
     */
    public void setModelInputMetadata(ModelInputMetadata value) {
        this.modelInputMetadata = value;
    }

    /**
     * Gets the value of the logSettings property.
     * 
     * @return
     *     possible object is
     *     {@link LogSettings }
     *     
     */
    public LogSettings getLogSettings() {
        return logSettings;
    }

    /**
     * Sets the value of the logSettings property.
     * 
     * @param value
     *     allowed object is
     *     {@link LogSettings }
     *     
     */
    public void setLogSettings(LogSettings value) {
        this.logSettings = value;
    }

    /**
     * Gets the value of the inputOrder property.
     * 
     * @return
     *     possible object is
     *     {@link InputOrder }
     *     
     */
    public InputOrder getInputOrder() {
        return inputOrder;
    }

    /**
     * Sets the value of the inputOrder property.
     * 
     * @param value
     *     allowed object is
     *     {@link InputOrder }
     *     
     */
    public void setInputOrder(InputOrder value) {
        this.inputOrder = value;
    }

    /**
     * Gets the value of the cacheSize property.
     * 
     * @return
     *     possible object is
     *     {@link IntegerValueType }
     *     
     */
    public IntegerValueType getCacheSize() {
        return cacheSize;
    }

    /**
     * Sets the value of the cacheSize property.
     * 
     * @param value
     *     allowed object is
     *     {@link IntegerValueType }
     *     
     */
    public void setCacheSize(IntegerValueType value) {
        this.cacheSize = value;
    }

    /**
     * Gets the value of the batchEnabledFlag property.
     * 
     */
    public boolean isBatchEnabledFlag() {
        return batchEnabledFlag;
    }

    /**
     * Sets the value of the batchEnabledFlag property.
     * 
     */
    public void setBatchEnabledFlag(boolean value) {
        this.batchEnabledFlag = value;
    }

    /**
     * Gets the value of the configurationItem property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the configurationItem property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getConfigurationItem().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ConfigurationItem }
     * 
     * 
     */
    public List<ConfigurationItem> getConfigurationItem() {
        if (configurationItem == null) {
            configurationItem = new ArrayList<ConfigurationItem>();
        }
        return this.configurationItem;
    }

    /**
     * Gets the value of the modelOutputMetadata property.
     * 
     * @return
     *     possible object is
     *     {@link ModelOutputMetadata }
     *     
     */
    public ModelOutputMetadata getModelOutputMetadata() {
        return modelOutputMetadata;
    }

    /**
     * Sets the value of the modelOutputMetadata property.
     * 
     * @param value
     *     allowed object is
     *     {@link ModelOutputMetadata }
     *     
     */
    public void setModelOutputMetadata(ModelOutputMetadata value) {
        this.modelOutputMetadata = value;
    }

    /**
     * Gets the value of the cfgSerial property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCfgSerial() {
        return cfgSerial;
    }

    /**
     * Sets the value of the cfgSerial property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCfgSerial(String value) {
        this.cfgSerial = value;
    }

    /**
     * Gets the value of the state property.
     * 
     * @return
     *     possible object is
     *     {@link RunningState }
     *     
     */
    public RunningState getState() {
        return state;
    }

    /**
     * Sets the value of the state property.
     * 
     * @param value
     *     allowed object is
     *     {@link RunningState }
     *     
     */
    public void setState(RunningState value) {
        this.state = value;
    }

    /**
     * Gets the value of the id property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getId() {
        return id;
    }

    /**
     * Sets the value of the id property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setId(String value) {
        this.id = value;
    }

}
